package com.yeyks.common.appcommon.param.room;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;

@ApiModel("设置酒店的入住须知")
@Data
public class SetRoomNoteParam implements Serializable {
    private static final long serialVersionUID = -8932901080403005143L;

    // @RequestParam(name = "token", defaultValue = "", required = true) String token,
    //            @RequestParam(name = "checkinTime", defaultValue = "", required = true) String checkinTime,
    //            @RequestParam(name = "checkoutTime", defaultValue = "", required = true) String checkoutTime,
    //            @RequestParam(name = "extraNote", defaultValue = "", required = true) String extraNote

    @ApiModelProperty("token的有效令牌")
    @NotBlank(message = "token不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty("入住开始时间,字符串，时分秒")
    private String checkinTime;

    @ApiModelProperty("入住结束时间,字符串，时分秒")
    private String checkoutTime;

    @ApiModelProperty("入住须知")
    private String extraNote;
}
